package app.netant.book.txt44;

import java.net.URLEncoder;

import app.netant.book.base.BaseDown;
import app.netant.book.sjxs.SjxsDown;

public class Txt44Down extends BaseDown {

	@Override
	public void downFile(String filePath, String url) throws Exception {
		
		this.downOwnFile(filePath, url);
		
	}
	
	public static void main(String[] args) throws Exception {
		
		String url = "http://down.44txt.com/免费下载/www.44txt.com/2018_9/44txt_xiuzhennaibahaidaozhu.rar";
		
		url = URLEncoder.encode(url, "utf-8");
		
		System.out.println(url);
		
		/*System.out.println("开始测试下载");
		Txt44Down downControl = new Txt44Down();		
		downControl.downFile("D:/测试.rar", "http://down.44txt.com/%E5%85%8D%E8%B4%B9%E4%B8%8B%E8%BD%BD/www.44txt.com/2018_9/44txt_xiuzhennaibahaidaozhu.rar");		
		System.out.println("结束测试下载");*/
	}

}
